package com.ross.mode.mq;

import com.alibaba.fastjson.JSON;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

/**
 * @version 1.0.0
 * @className: OrderMq
 * @description: 内部订单MQ
 * @author: zhangjunfa
 * @date: 2023/4/3 17:02
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class OrderMq {
    private String uid;           // 用户ID
    private String sku;           // 商品
    private String orderId;       // 订单ID
    private Date createOrderTime; // 下单时间

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
